#pragma once 

#include <ntddk.h>
#ifndef _PRINTHEAD
#define _PRINTHEAD "DbgOut:%s\n"
#endif
#ifndef _WPRINTHEAD
#define _WPRINTHEAD L"DbgOut:%s\n"
#endif

#define G_D(p,s) *(int *)((int)p + (int)s)
#define G_W(p,s) *(WORD *)((int)p + (int)s)
#define G_B(p,s) *(BYTE *)((int)p + (int)s)
#define G_FD(p,s) *(float *)((int)p + (int)s)

#ifndef _MSC_VER
#define UNIQUE_RESOURCE_NOEXCEPT noexpect
#else
#define UNIQUE_RESOURCE_NOEXCEPT
#endif




auto __stdcall DPrint(char *msg)->void;

auto __stdcall DbgOut(const char *fmt, ...)->void;
